package com.zuipin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 基础资料-地区
 */
@ApiModel(description = "基础资料-地区")
public class BaseRegion {

	private Integer		id;	// 主键,序列自增
	private String		code;	// 地区编码
	private String		regionName;	// 地区名称
	private Integer		parentId;	// 父级地区ID
	private String		parentCode;	// 父级地区编码
	private Integer		regionLevel;	// 地区等级 0:国,1:省/自治区,2:市,3:县/区
	private Integer		regionOrder;	// 
	private String		nameEn;	// 地区英文名称
	private String		shortnameEn;	// 地区英文简称
	
	/**
	 * 省份等级
	 */
	public static final Integer LEVEL_PROVICE=1;
	/**
	 * 城市等级
	 */
	public static final Integer LEVEL_CITY=2;
	/**
	 * 地区等级
	 */
	public static final Integer LEVEL_AREA=3;
	
	
	@ApiModelProperty(value = "主键,序列自增")
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "地区编码")
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	@ApiModelProperty(value = "地区名称")
	public String getRegionName() {
		return regionName;
	}
	
	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}
	
	@ApiModelProperty(value = "父级地区ID")
	public Integer getParentId() {
		return parentId;
	}
	
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	
	@ApiModelProperty(value = "父级地区编码")
	public String getParentCode() {
		return parentCode;
	}
	
	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}
	
	@ApiModelProperty(value = "地区等级 0:国,1:省/自治区,2:市,3:县/区")
	public Integer getRegionLevel() {
		return regionLevel;
	}
	
	public void setRegionLevel(Integer regionLevel) {
		this.regionLevel = regionLevel;
	}
	
	@ApiModelProperty(value = "")
	public Integer getRegionOrder() {
		return regionOrder;
	}
	
	public void setRegionOrder(Integer regionOrder) {
		this.regionOrder = regionOrder;
	}
	
	@ApiModelProperty(value = "地区英文名称")
	public String getNameEn() {
		return nameEn;
	}
	
	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}
	
	@ApiModelProperty(value = "地区英文简称")
	public String getShortnameEn() {
		return shortnameEn;
	}
	
	public void setShortnameEn(String shortnameEn) {
		this.shortnameEn = shortnameEn;
	}
}
